package com.huli.service.impl;

import com.huli.mapper.NuerdingProjectMapper;
import com.huli.pojo.NursingProject;
import com.huli.service.NuerdingProjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class NuerdingProjectServiceImpl implements NuerdingProjectService {

    @Resource
    private NuerdingProjectMapper nuerdingProjectMapper;

    @Override
    public List<NursingProject> findAll() {
        return nuerdingProjectMapper.findAll();
    }

    @Override
    public NursingProject selectByid(Integer id) {
        return nuerdingProjectMapper.selectByid(id);
    }
}
